from time import time

from sqlalchemy import Column, Integer, String, DateTime

from . import Base


class User_info(Base):
    # 数据表名
    __tablename__ = "user_info"

    id = Column(Integer,  primary_key=True)
    phone = Column(String(20), nullable=False)
    password = Column(String(20), nullable=False)

    # relationship
    def __repr__(self):
        return f'<EventAPI: {self.id}>'